package com.lh.blogConsumer.feign;

import com.lh.blogCommon.result.LhR;
import com.lh.blogConsumer.feign.Impl.OssFeignServiceImpl;
import com.lh.blogConsumer.feign.Impl.TriviaFeignServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

//创建时间 2021/3/24
//创建人 lh
//描述
@Service
@FeignClient(value = "blog-trivia",fallback = TriviaFeignServiceImpl.class)
public interface TriviaFeignService {

    @GetMapping("/admin/blogTrivia/photoalbum/list")
    LhR list(Map<String, Object> params);

}
